.data {
  min-height: 100%;
  margin: 0 10px;
  // background-color: #f5f5f5;
  .total {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 10px;

    // 时间选择浮层
    .time {
      position: relative;
      width: 96px;
      padding: 6px;
      background-color: #f5f5f5;
      color: rgba(0, 0, 0, 0.9);
      border-radius: 4px;
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      span:nth-of-type(1)::after {
        content: "";
        position: absolute;
        top: 9px;
        bottom: 8px;
        right: 28px;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.5);
      }
      .date {
        font-size: 16px;
        color: rgba(0, 0, 0, 0.5);
      }
    }

    // 类别选择浮层

    .type {
      // 支出类型按钮
      display: flex;
      flex-direction: row;
      align-items: center;
      .pay-type-expense {
        margin: 0 20px;
        position: relative;

        width: 60px;
        padding: 6px;
        background-color: #f5f5f5;
        color: rgba(0, 0, 0, 0.9);
        border-radius: 4px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
        &.active {
          background-color: #eafbf6;
          border-color: #007fff;
          color: #007fff;
        }
      }

      //   收入类型按钮
      .pay-type-income {
        margin: 0 20px;
        position: relative;
        width: 60px;
        padding: 6px;
        background-color: #f5f5f5;
        color: rgba(0, 0, 0, 0.9);
        border-radius: 4px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
        &.active {
          background-color: #fbf8f0;
          border-color: rgb(236, 190, 37);
          color: rgb(236, 190, 37);
        }
      }
    }

    //  金钱展示
    .title {
      color: #007fff;
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 500;
      &.expense {
        color: #007fff;
      }
      &.income {
        color: rgb(236, 190, 37);
      }
    }
    .total-number {
      font-size: 24px;
      color: #007fff;
      font-weight: 600;
      margin-bottom: 16px;
      &.expense {
        color: #007fff;
      }
      &.income {
        color: rgb(236, 190, 37);
      }
    }
    .mean-number {
      color: rgba(0, 0, 0, 0.5);
      font-weight: 500;
    }
  }

  // 折线图样式
  .echarts {
    width: 100%;
    height: 250px;
    
  }

  // 条形可视化区域
  .content {
    .item {
      display: flex;
      height: 50px;
      align-items: center;
      .left {
        flex: 4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-right: 10px;
        .type {
          display: flex;
          align-items: center;
          span:nth-of-type(1) {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            margin-right: 10px;
            color: #fff;
            flex-shrink: 0;
          }
          .name {
            width: 30px;
          }
          .expense {
            background-color: #007fff;
          }
          .income {
            background-color: rgb(236, 190, 37);
          }
        }
      }
      .right {
        flex: 8;
        display: flex;
        align-items: center;
        .percent {
          flex: 1;
          :global {
            .za-progress__track {
              background: transparent;
            }
          }
        }
        .momey {
          width: 100px;
        }
      }
    }
  }
}
